package com.ruoyi.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.teaching.pojo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.core.annotation.Excel;

/**
 * 节假日对象 ya_holiday
 *
 * @author ZBX
 * @date 2025-03-10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("ya_holiday")
public class YaHoliday
{
    private static final long serialVersionUID = 1L;

    /** 节假日ID */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 日期 */
    @Excel(name = "日期")
    @TableField
    private String date;
    /** 周几，0代表周日，1代表周一，以此类推 */
    @Excel(name = "周几，0代表周日，1代表周一，以此类推")
    @TableField
    private Integer weekday;
    /** 节假日描述 */
    @Excel(name = "节假日描述")
    @TableField
    private String description;
    /** 配置ID,为空 说明为手动配置 */
    @Excel(name = "配置ID,为空 说明为手动配置")
    @TableField
    private Long configId;
}
